/**
 * 个人中心=我的办公路由
 */
export default [{
    path: '/work',
    name: 'Work',
    meta: {
        info: '我的办公'
    },
    component: () => import("@/views/oneself-centre/personal-work/index"),
    redirect: {
        name: 'Approval'
    },
    children: [{
        path: 'approval',
        name: 'Approval',
        meta: {
            info: '我的审批'
        },
        component: () => import("@/views/oneself-centre/personal-work/approval/index"),
        redirect: {
            name: 'ApprovalList'
        },
        children: [{
            path: 'list',
            name: 'ApprovalList',
            meta: {
                info: '列表'
            },
            component: () => import("@/views/oneself-centre/personal-work/approval/ApprovalList"),
        }]
    }, {
        path: 'apply',
        name: 'Apply',
        meta: {
            info: '我的申请'
        },
        component: () => import("@/views/oneself-centre/personal-work/apply/index"),
        redirect: {
            name: 'ApplyLists'
        },
        children: [{
            path: 'list',
            name: 'ApplyLists',
            meta: {
                info: '列表'
            },
            component: () => import("@/views/oneself-centre/personal-work/apply/ApplyList"),
        }]
    }, {
        path: 'resource',
        name: 'resource',
        meta: {
            info: '我的资源'
        },
        component: () => import("@/views/oneself-centre/personal-work/my-resource/index"),
        redirect: {
            name: 'resourceList'
        },
        children: [{
            path: 'list',
            name: 'resourceList',
            meta: {
                info: '列表'
            },
            component: () => import("@/views/oneself-centre/personal-work/my-resource/ResourceList"),
        }, {
            path: 'detailed',
            name: 'resourceDetailed',
            meta: {
                info: '详情'
            },
            component: () => import("@/views/oneself-centre/personal-work/my-resource/ResourceDetailed"),
        }]
    },{
        path: 'collect',
        name: 'Collect',
        meta: {
            info: '我的收藏'
        },
        component: () => import("@/views/oneself-centre/personal-work/collect/index"),
        redirect: {
            name: 'CollectList'
        },
        children: [{
            path: 'list',
            name: 'CollectList',
            meta: {
                info: '列表'
            },
            component: () => import("@/views/oneself-centre/personal-work/collect/CollectList"),
        }, {
            path: 'detailed',
            name: 'CollectDetailed',
            meta: {
                info: '详情'
            },
            component: () => import("@/views/oneself-centre/personal-work/collect/CollectDetailed"),
        }]
    }, {
        path: 'error',
        name: 'Error',
        meta: {
            info: '我的纠错'
        },
        component: () => import("@/views/oneself-centre/personal-work/error/index"),
        redirect: {
            name: 'ErrorList'
        },
        children: [{
            path: 'list',
            name: 'ErrorList',
            meta: {
                info: '列表'
            },
            component: () => import("@/views/oneself-centre/personal-work/error/ErrorList"),
        }, {
            path: 'detailed',
            name: 'ErrorDetailed',
            meta: {
                info: '详情'
            },
            component: () => import("@/views/oneself-centre/personal-work/error/ErrorDetailed"),
        }]
    }, {
        path: 'special',
        name: 'Special',
        meta: {
            info: '我的专题'
        },
        component: () => import("@/views/oneself-centre/personal-work/special/index"),
        redirect: {
            name: 'SpecialList'
        },
        children: [{
            path: 'list',
            name: 'SpecialList',
            meta: {
                info: '列表'
            },
            component: () => import("@/views/oneself-centre/personal-work/special/SpecialList"),
        }, {
            path: 'detailed',
            name: 'SpecialDetailed',
            meta: {
                info: '详情'
            },
            component: () => import("@/views/oneself-centre/personal-work/special/SpecialDetailed"),
        }]
    }]
}]
